package com.github.pig.admin.mapper.attendance;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.github.pig.admin.model.attendance.AttendanceRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sxf
 * @since 2018-11-22
 */
public interface AttendanceRecordMapper extends BaseMapper<AttendanceRecord> {

    List<AttendanceRecord> getByUserForDay(@Param("userName") String userName,@Param("date") String date);

    List<AttendanceRecord> getByUserForMonth(@Param("userName") String userName,@Param("date") String date);

}
